package com.smartleanx.module.hrm.dal.mysql.esign;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smartleanx.framework.tenant.core.aop.TenantIgnore;
import com.smartleanx.module.hrm.dal.dataobject.esign.EsignOrgSeal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author yanglihao
 */
@Mapper
public interface EsignOrgSealMapper extends BaseMapper<EsignOrgSeal> {

    void saveOrUpdateOrgSeal(EsignOrgSeal param);


    @TenantIgnore
    @Select("select seal_id from esign_org_seal where org_id=#{corpId}")
    String selectSealIdByCorpId(String corpId);
}
